<template>
  <!-- 整体子路由布局 -->
  <a-layout class="page_set">
    <a-layout class="a_layout">
      <router-view />
      <temp />
    </a-layout>
  </a-layout>
</template>

<script>
import temp from "./template";

export default {
  components: { temp },

  data() {
    return {
      defaultSelectedKeys: ["模板设置"],
      menuList: [
        {
          title: "模板设置"
        }
      ]
    };
  },

  methods: {
    // 跳转单页
    goList(i, meta) {
      this.$nextTick;
      this.$router.push(this.menuList[i]);

      this.meta = meta;
    }
  }
};
</script>
<style lang="scss" scoped>
.a_layout_sider {
  background: none;
  width: 280px;
  border-right: 1px solid #f4f4f4;
}
.ant-layout-sider-children {
  border-right: 1px solid #e8e8e8;
}
.ant-menu-vertical {
  border: none;
}
.a_layout_sider .list-title {
  line-height: 40px;
  padding-left: 15px;
  color: #000;
  font-weight: 600;
}

.bot_bot {
  border-bottom: 1px solid #e8e8e8;
}
.a_layout {
  box-sizing: border-box;
  padding: 0 20px;
  background: #fff;
  min-height: calc(100vh - 138px);
}
.ant-layout {
  background: #fff;
}
</style>
